package com.example.bozai.controller;

import com.example.bozai.entity.BaseUsers;
import com.example.bozai.service.BaseUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author developer
 * @since 2025-10-10 14:09:29
 */
@RestController
@RequestMapping("/bozai/baseUsers")
public class BaseUsersController {

    @Autowired
    private BaseUsersService baseUsersService;

    @PostMapping("/test")
    public void test(){
        BaseUsers byId = baseUsersService.getById(2086);
        System.out.println(byId);
    }


}
